package Utils;

import Model.Article;
import Service.ArticleService;
import Service.ArticleServiceImpl;
import Service.UserService;
import Service.UserServiceImpl;

/**
 * @author zyp
 * date 2022-03-08
 */
public class ServiceFactory {
    private static UserService userService = new UserServiceImpl();
    private static ArticleService articleService = new ArticleServiceImpl();

    public static UserService getUserService() {
        return userService;
    }

    public static ArticleService getArticleService() {
        return articleService;
    }
}
